package com.dyna.digit.flowable.domain;

import com.dyna.constants.DateFatter;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zhoucaiwang
 * @date 2023/11/24
 */

@Data
public class DigitTask {

    @ApiModelProperty(value = "流程名称")
    private String name;

    @ApiModelProperty(value = "处理人")
    private String assignee;

    @ApiModelProperty(value = "任务id")
    private String id;

    @ApiModelProperty(value = "任务流程定义key")
    private String taskDefinitionKey;

    @ApiModelProperty(value = "流程实例id")
    private String processInstanceId;

    @ApiModelProperty(value = "流程定义id")
    private String processDefinitionId;

    @ApiModelProperty(value = "项目id")
    private  Integer projectId;

    @ApiModelProperty(value = "项目名称")
    private String projectName;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = DateFatter.YYYY_MM_DD_HH_MM_SS)
    private Date createTime;

}
